package request

import (
	"gitee.com/g-qs/gin-vue-admin/server/model/common/request"
	"gitee.com/g-qs/gin-vue-admin/server/model/hierarchy"
	"time"
)

type LevelTwoSearch struct {
	hierarchy.LevelTwo
	StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt   *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
	request.PageInfo
}

type LevelTwoArticleSearch struct {
	ID             uint                  `json:"id" form:"id"`
	Type           hierarchy.ARTICLETYPE `json:"type" form:"type"`
	StartCreatedAt *time.Time            `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt   *time.Time            `json:"endCreatedAt" form:"endCreatedAt"`
	//request.PageInfo
}

type TwoLevelSearch struct {
	LevelOneID uint `json:"levelOneID"`
}

type LevelTwoIdsSearch struct {
	IDs            string     `json:"Ids" form:"Ids"`
	LevelOneID     uint       `json:"levelOneID" form:"levelOneID"`
	Key            string     `json:"key" form:"key"`
	Value          string     `json:"value" form:"value"`
	StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt   *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
	request.PageInfo
}
